package cn.iocoder.yudao.module.member.controller.admin.confpoint.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 积分奖励规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberConfPointPageReqVO extends PageParam {

    /**
     * 关联物料策略ID
     */
    private Long materialPolicyId;

    @Schema(description = "积分业务类型 实物料买单,实物料卖单,锁价买料,锁价卖料,	                                存料延期,提料延期,推荐客户,注册代理,	                                平台开户,首付定金,付定金", example = "2")
    private Integer transactionType;

    @Schema(description = "适用金属类型（非金属相关业务为空）", example = "1")
    private Integer metalType;

    @Schema(description = "计算单位数量（每X克/元）")
    private BigDecimal perUnit;

    @Schema(description = "计算单位类型：按克/按金额/按单", example = "1")
    private Integer perType;

    @Schema(description = "奖励积分数")
    private BigDecimal points;

}